package sc.client.procedural;

import k8.util.ProceduralTexture;

public class TileTexture extends ProceduralTexture
{
	// Single instance of TileTexture
	private static TileTexture instance = null;
	
	/** Prevents public construction of TileTexture */
    private TileTexture()
    {
    	super(128, 128);
    }
    
    /** Gets the TileTexture instance */
    public static TileTexture getInstance()
    {
    	if (instance == null)
    		instance = new TileTexture();
    	return instance;
    }
    
	@Override
	protected void colourAt(float x, float y, float z, int[] colour)
	{
		colour[0] = 255;
		colour[1] = 255;
		colour[2] = 255;
	}

}
